package com.zang.blogz.strategy;

import com.zang.blogz.entity.Article;
import com.zang.blogz.model.input.ro.ArticleReviseRO;
import com.zang.blogz.model.output.ImportArticleRO;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文章导入策略
 * @author ZVerify
 * @since 2022/10/13 18:52
 **/

public interface ArticleImportStrategy {

    /**
     * 导入文章
     * @param file 文件
     * @return {@link ArticleReviseRO}
     */
    ArticleReviseRO importArticles(MultipartFile file, ImportArticleRO importArticleRO);
}
